package com.leinao.category.model;

import java.util.List;

/**
 *
 * @Description 算法、数据集等主体分类关联信息表
 * @author lizi
 * @date 2019/03/06 下午6:48
 * @Version 1.0
 */
public class BatchCategoryRelation {

    /**
     * 引用该分类的对象的主键
     */
    private Long objId;

    /**
     * 类型: 1-公开项目，2-数据集
     */
    private Integer type;

    /**
     * 批量分类关联信息
     */
    private List<CategoryRelation> categoryRelationList;

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<CategoryRelation> getCategoryRelationList() {
        return categoryRelationList;
    }

    public void setCategoryRelationList(List<CategoryRelation> categoryRelationList) {
        this.categoryRelationList = categoryRelationList;
    }

    @Override
    public String toString() {
        return "BatchCategoryRelation{" +
                "objId=" + objId +
                ", type=" + type +
                ", categoryRelationList=" + categoryRelationList +
                '}';
    }
}